package com.lancoo.cvas.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 行政班禁排
 *
 * @author liufeng
 * @email 1037383243@qq.com
 * @date 2023-12-04 11:54:00
 */
@Data
@Accessors(chain = true)
@TableName("rule_teaching_class_prohibit")
@ApiModel("教学班规则")
public class RuleTeachingClassProhibit implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;
    /**
     *
     */
    @ApiModelProperty("任务id")
    private Integer taskId;
    /**
     * 教学班id
     */
    @ApiModelProperty("教学班id")
    private Long teachingClassId;

    /*
    1讲授 2实验 3上机 4其他
     */
    @ApiModelProperty("授课类型")
    private Integer hourType;
    /**
     * 课时编码
     */
    @ApiModelProperty("课时编码")
    private String timeCode;
    /**
     * 学校id
     */
    @ApiModelProperty("学校id")
    private String schoolId;
    /**
     * 0：尽量排(优先排)；1：固排（一定排）；2：禁排
     */
    @ApiModelProperty("规则类型")
    private Integer flag;
    //	固排类型 1、教室 2、教师 3、行政班 4、教学班 5、课程
    @ApiModelProperty("固排类型")
    private Integer type;
    /**
     *
     */
    @ApiModelProperty("删除标识")
    private Integer deleted;
    /**
     *
     */
    private String reserve;

    @ApiModelProperty("课程id")
    private Long courseId;

    @ApiModelProperty("固排分组")
    private String fixGroup;

    @TableField(exist = false)
    @ApiModelProperty("教学班名称")
    private String teachingClassName;

    @TableField(exist = false)
    @ApiModelProperty("term")
    private String term;

}
